package model.financial;

public class BillArchived implements BillState {
	@SuppressWarnings("unused")
	private Bill bill;

	public BillArchived(Bill bill) {
		this.bill = bill;
	}

	@Override
	public void handle() throws Exception {
		throw new Exception("can't handle a archived bill.");
	}

	@Override
	public void archive() throws Exception {
		throw new Exception("Bill was allready archived.");
	}

}
